package com.tsingtao.springboot2.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.tsingtao.springboot2.dto.User;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

public interface UserService extends IService<User> {

    List<User> customSelectAll();

    List<User> testQueryWrapper();

    List<User> testUpdateWrapper();

    User testSave(User user);

    List<User> testBatchSave(@RequestBody List<User> userList);

    IPage<User> testPage(Page<User> page, @RequestBody User user);
}
